﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ProductList.ascx.cs" Inherits="Demo.ProductList1" %>
<asp:Repeater runat="server" ID="ReProducts">
    <ItemTemplate>
        <div class="show-pro">
            <dl>
                <dt><a href="Product.aspx?PID=<%# Eval(" Gid")%>">
                    <img src="Images/<%# Eval(" ImageUrl") %>" width="285" height="193" /></a>
                </dt>
                <dd class="text-center">
                    <h2 class="t">商品名称：
                                            <%# Eval("GName") %>
                    </h2>
                </dd>
                <dd class="text-center">商品价格：<span class="pro-price">
                    <%# string.Format( "{0:C}",Eval("Price")) %></span>
                </dd>
            </dl>
        </div>
    </ItemTemplate>
</asp:Repeater>
